package com.example.demo.user.rpc;

import com.example.demo.response.ApiResult;
import org.springframework.stereotype.Component;

/**
 * @Auther: miaoguoxin
 * @Date: 2020/3/18 15:40
 * @Description:
 */
@Component
public class OrderFeignFallback implements OrderFeignRpc{
    @Override
    public ApiResult<String> testRpc() {
        return ApiResult.error("调用micro order错误");
    }
}
